<template>
  <div id="wrapper">
    <nav class="nav navbar-default">
      <div class="container">
        <a class="navbar-brand" href="#">
          <i class="glyphicon glyphicon-time"></i>
          计划版
        </a>
        <ul class="nav navbar-nav">
          <li><router-link to="/home">首页</router-link></li>
          <li><router-link to="/time-entries">计划列表</router-link></li>
        </ul>
      </div>
    </nav>
    <hr>
    <div class="container">
      <div class="col-sm-3">
        <side-bar></side-bar>
      </div>
      <div class="col-sm-9">
        <router-view></router-view>
      </div>
    </div>
  </div>

</template>

<script>
  import SideBar from "./SideBar";

  export default {
    name: 'index',
    components: {SideBar}
  }
</script>

